package com.zpark.updater;

import com.zpark.entity.HistoryData;
import com.zpark.entity.SuccessData;

public class LastLoginGeoPointUpdater extends Updater {
    @Override
    public void update(SuccessData successData, HistoryData historyData, UpdaterChain updaterChain) {
        historyData.setLastLoginGeoPoint(successData.getGeoPoint());
        updaterChain.doChain(successData, historyData);
    }
}
